#! /usr/bin/env bash

GIT_BRANCH=$(git branch | grep '*' | sed 's/^\* *//')

GIT_COMMIT=$(git log -n 1 | grep "^commit" | sed 's/commit *//' | cut -c 1-7)

CURRETN_BUILD_VER=${GIT_BRANCH}:${GIT_COMMIT}

echo -n "${CURRETN_BUILD_VER}"